import NextAuth from 'next-auth'
import { authOptions } from '@/auth.config'

const handler = NextAuth.default(authOptions)
export { handler as GET, handler as POST }
